package org.example.travel_web.service;

import org.example.travel_web.dto.PageResult;
import org.example.travel_web.dto.login.AdmRegisterReq;
import org.example.travel_web.dto.login.LoginReq;
import org.example.travel_web.dto.login.LoginResult;
import org.example.travel_web.dto.sysUser.PageReq;
import org.example.travel_web.dto.sysUser.PageResp;
import org.example.travel_web.dto.sysUser.SysUserReq;
import org.example.travel_web.entity.SysUserET;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 23591
* @description 针对表【sys_user(系统用户)】的数据库操作Service
* @createDate 2025-01-21 15:56:49
*/
public interface SysUserService extends IService<SysUserET> {

    LoginResult login(LoginReq req);

    void register(AdmRegisterReq req);

    void delete(Long[] ids);

    PageResult<PageResp> pageResult(PageReq req);

    void add(SysUserReq req);

    void updateSysUser(SysUserReq req);

    SysUserET get(Long id);
}
